home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Source Code
/
C++
/
Snippets
/
SuperSplash 1.0d1
/
sources
/
gConstDefines.h
< prev
next >
Wrap
C/C++ Source or Header
|
1995-10-03
|
1KB
|
76 lines
#pragma once
/*
* gConstDefines.h
*
* SuperSplash
* ^^^^^^^^^^^
*
* Defined items with global scope
* © Andrew Nemeth (where applicable), Warrimoo Australia 1995
*
* File created: 3 Oct 95.
* Modified: 3 Oct 95.
*/
// #DEFINES
//
#define kMoveToFront (WindowPtr)-1L
#define kEmptyString "\p"
#define kNilFilterProc NULL
// APPLICATION SIGNATURE
//
const OSType kAppCreator = '????';
// MENUs
//
// Application Menu bar
const short kMenuBar_ID = 2000;
// Indexes & Number of menus in bar
enum {
kAppleNdx,
kFileNdx,
kOptionsNdx,
kMenusInBar };
enum { kMyAppleMenu = 0,
kM_About,
kMApple_ID = 2000 };
enum { kMyFileMenu = 0,
kM_Quit,
kMFile_ID = 2001 };
enum { kMyOptionsMenu = 0,
kM_Splash_JPEG_file,
kM_Splash_PICT_file,
k______3a,
kM_Splash_PICT_resource,
kMOptions_ID = 2002 };
// DIALOGS
//
// 'About application' ALRT
const short kresidALRT_About = 2000,
kresidALRT_QuickTime = 2001;
// useful constants for DITLs
const short iOKButton = 1,
iCancelButton = 2,
kDisableControl = 255,
kEnableControl = 0;